package com.mnt.gui.base.buildfactory.cellhandle;

/**
 * check box select event handle
 * @author 2014-4-6 mnt.cico
 *
 */
public abstract class EventExecutorCheckHandle<R> {

	/**
	 * selected or unselected execute this event
	 * 2014-4-6 mnt.cico
	 * @param isSelected
	 * @param rowValue
	 */
	public abstract void execute(boolean isSelected, R rowValue) throws Exception;
	
	/**
	 * 
	 * 2014-4-6 mnt.cico
	 * @param e
	 */
	public void onFailed(Exception e) {
		e.printStackTrace();
	}
}
